package au.com.bus4u.service;

import au.com.bus4u.utils.PageData;

public interface EmailService {



    /**
     * 发送用户注册的效验邮件
     * 内容格式：http://localhost:8080/validationUserEmail/user_id
     * @param user_id
     * @param user_email
     * @throws Exception
     */
    public void sendUserRegistValidationEmail(String user_id,String user_email);


    /**
     * 发送简单文本的邮件方法
     * @param to
     * @param subject
     * @param content
     */
    public void sendSimpleMail(String to,String subject,String content);


    /**
     * 发送HTML邮件的方法
     * @param to
     * @param subjecr
     * @param content
     */
    public void sendHtmlMail(String to ,String subjecr,String content);


    public void sendMail(String to ,String subjecr,String content);

}
